package io.framework.modules.air.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 *  空气站点监测数据
 *
 * @author Gujq email
 * @since 1.0.0 2020-05-20
 */
@Data
@ApiModel(value = "")
public class AirDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "ID")
	private Long id;

	@ApiModelProperty(value = "站点id")
	private Long stationId;

	@ApiModelProperty(value = "站点名称")
	private String stationName;

	@ApiModelProperty(value = "上传数据月份")
	@JsonFormat(pattern="yyyy-MM")
	private Date month;

	@ApiModelProperty(value = "1-城市站点-监测数据  2-旅游区站点-监测数据 3-城市-监测数据")
	private Integer type;

	@ApiModelProperty(value = "城市名称")
	private String cityName;

	@ApiModelProperty(value = "时间")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm")
	private Date date;

	@ApiModelProperty(value = "二氧化硫")
	private BigDecimal so2;

	@ApiModelProperty(value = "二氧化硫指数")
	private BigDecimal so2Zs;

	@ApiModelProperty(value = "二氧化氮")
	private BigDecimal no2;

	@ApiModelProperty(value = "二氧化氮指数")
	private BigDecimal no2Zs;

	@ApiModelProperty(value = "PM10")
	private BigDecimal pm10;

	@ApiModelProperty(value = "PM10指数")
	private BigDecimal pm10Zs;

	@ApiModelProperty(value = "一氧化碳")
	private BigDecimal co;

	@ApiModelProperty(value = "一氧化碳指数")
	private BigDecimal coZs;

	@ApiModelProperty(value = "臭氧")
	private BigDecimal o3;

	@ApiModelProperty(value = "臭氧指数")
	private BigDecimal o3Zs;

	@ApiModelProperty(value = "PM2.5")
	private BigDecimal pm25;

	@ApiModelProperty(value = "PM2.5指数")
	private BigDecimal pm25Zs;

	@ApiModelProperty(value = "空气指数AQI")
	private BigDecimal aqi;

	@ApiModelProperty(value = "首要污染物")
	private String top;

	@ApiModelProperty(value = "等级 一级、二级......")
	private String level;

	@ApiModelProperty(value = "等级名称 优、良.....")
	private String classify;

	@ApiModelProperty(value = "颜色")
	private String color;

	@ApiModelProperty(value = "颜色名称")
	private String colorName;

	@ApiModelProperty(value = "创建者")
	private Long creator;

	@ApiModelProperty(value = "创建时间")
	@JsonFormat(pattern="yyyy-MM-dd")
	private Date createDate;

	@ApiModelProperty(value = "空气站点控制 国控/市控/省控")
	private String control;
}
